package de.muahd.saga.services.core.api;

import java.util.List;

import org.hibernate.validator.constraints.NotBlank;
import org.springframework.validation.annotation.Validated;

import de.muahd.saga.common.model.Customer;

@Validated
public interface CustomerService {
	
	
	public void saveCustomer(Customer customer);
	
	public Customer findByLastName(@NotBlank String lastname);
	
	public List<Customer> findByFirstName(String firstName);

	public List<Customer> findAll();
	
}
